﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Mammoth.Services;

namespace Mammoth.Events
{
    public enum NavigationType
    {
        Show, Backward
    }

    public class ViewNavigationEventArgs : RoutedEventArgs
    {
        public ViewNavigationEventArgs(NavigationType type=NavigationType.Backward, Type view = null, IParameterValue arguments=null)
            : base(RoutedEvents.NavigationEvent)
        {
            Type = type;
            View = view;
            Arguments = arguments;
        }

        public NavigationType Type { get; set; }
        public Type View { get; set; }
        public IParameterValue Arguments { get; set; }
    }
}
